package com.jz.netthings.application.stockManage.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 耗材入库信息
 * </p>
 *
 * @author yangyunyun
 * @since 2019-07-19
 */
@Data
public class ConsumablesStorage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 入库单号
     */
    @TableField("orderNum")
    private String orderNum;
    /**
     * 耗材类型
     */
    @TableField("typeId")
    private Integer typeId;
    /**
     * 供货商
     */
    @TableField("supplierId")
    private Integer supplierId;
    /**
     * 批号
     */
    @TableField("batchNum")
    private String batchNum;
    /**
     * 有效期
     */
    private Date validity;
    /**
     * 数量
     */
    @TableField("orderCount")
    private Integer orderCount;
    /**
     * 剩余数量
     */
    @TableField("surplusCount")
    private Integer surplusCount;
    /**
     * 单价
     */
    @TableField("unitPrice")
    private Float unitPrice;
    /**
     * 总价
     */
    @TableField("allPrice")
    private Float allPrice;
    /**
     * 入库人
     */
    @TableField("storagePerson")
    private Integer storagePerson;
    /**
     * 入库日期
     */
    @TableField("storageDate")
    private Date storageDate;
    /**
     * 模板ID
     */
    @TableField("templateId")
    private Integer templateId;

}
